package com.edu.test;

import com.edu.bean.User;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyTest03 {


    ApplicationContext context = null;

    @Before
    public void init(){
        context = new ClassPathXmlApplicationContext("spring-ioc3.xml");
    }


    @Test
    public void test01(){
//        System.out.println(context.getBean("a"));
//        System.out.println(context.getBean("b"));
    }





}
